#ifndef FORM_H
#define FORM_H

#include <QWidget>
#include <client.h>

namespace Ui {
class Form;
}

class Form : public QWidget
{
    Q_OBJECT

public:
    explicit Form(QWidget *parent = nullptr);
    ~Form();

signals:
    void insertSignal();
public slots:
    void deleteFace(std::string s);

private slots:
    void on_pushButton_2_clicked();
    void on_pushButton_clicked();
    void sendInsertSignal();



private:
    Ui::Form *ui;
    QByteArray ba;
    Json::Value root;
    Json::FastWriter writer;
    Json::Reader reader;
    char jsonstr[65536];
    QString file_full,  file_path;
    QFileInfo fi;
};

#endif // FORM_H
